#ifndef TYPEOFROOMADDEDITDIALOG_H
#define TYPEOFROOMADDEDITDIALOG_H

#include <QDialog>

#include "../../Headers/Classes/myutils.h"
#include "../../Headers/DataAccessors/typeofroomdataaccessor.h"

namespace Ui {
    class TypeOfRoomAddEditDialog;
}

class TypeOfRoomAddEditDialog : public QDialog
{
    Q_OBJECT

    MyUtils::FormStatus formStatus;
    TypeOfRoom *typeOFRoom;

public:
    explicit TypeOfRoomAddEditDialog(MyUtils::FormStatus formStatus = MyUtils::Adding, TypeOfRoom *typeOfRoom = NULL, QWidget *parent = 0);
    ~TypeOfRoomAddEditDialog();

private slots:
    void on_cancelButton_clicked();

    void on_createButton_clicked();

private:
    Ui::TypeOfRoomAddEditDialog *ui;
};

#endif // TYPEOFROOMADDEDITDIALOG_H
